package com.codi.bus.core.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.codi.base.domain.BaseDomain;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 机构资料
 *
 * @author spy
 * @date 2017-09-01 09:10
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class OrganProfile extends BaseDomain {
    private Long profileId;

    private Long userId;

    private Integer state;

    private Boolean threeInOne;

    private String companyName;

    private String businessLicence;

    private Boolean businessLicenceLongEffective;

    @JSONField(format = "yyyy-MM-dd")
    private Date businessLicenceExpireDate;

    private String taxRegister;

    private String organCode;

    private String address;

    private String postcode;

    private String trade;

    private String corProperty;

    private String regCapital;

    private String businessRange;

    private String instreprName;

    private String instreprIdNo;

    private Boolean instreprIdNoLongEffective;

    @JSONField(format = "yyyy-MM-dd")
    private Date instreprIdNoExpireDate;

    private String contactName;

    private String contactIdNo;

    private String contactTel;

    private String beneficiary;

    private String owner;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date testExpiredDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;


    private Integer passHasNotifyUser;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date passNotifyDate;


    private String createUserId;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedDate;

    private String lastUpdatedUserId;

    private String tradeReportTel;

    private String channel;

    private Long organAgentId;

    private Integer isChinaTax;

    private Boolean isAgent;


    private String externalClientId;

    private static final long serialVersionUID = 1L;
}
